<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Home extends CI_Controller{
	
	public function index(){
		$data['page'] = 'home';
		$this->load->view('template',$data);
	}
	
	public function consulta(){
		$data['page'] = 'consulta';
		$this->load->view('template',$data);
	}
	
	public function logoff(){
		//$this->session->destroy();
		header("Location: ".base_url());
	}
}

/* End of file home.php */
/* Location: ./application/controllers/home.php */